#ifndef __CONFIG_H__
#define __CONFIG_H__

#include "gd32f1x0.h"
#include <stdio.h>
#include <stdlib.h>

#define  PLANT    0
#define  NORMAL   1

#define  SP_ON    1
#define  SP_OFF   2

#define SHUTDOWN_TIME  400


void OS_Time_axis(void);
void Uer_OLED(void);

void User_par_yes_flash_Init(void);
void User_par_no_flash_Init(void);
void Check_par_flash_Init(void);

void OS_Time_axis_check(void);
unsigned short int MyAbs16(short int n);


extern u8 flag_x1ms;  
extern u8 flag_x2ms;
extern u8 flag_x3ms;


#endif
